//
//  YSRoomModel.h
//  Yaoyle
//
//  Created by ZhaoXudong on 14-9-24.
//  Copyright (c) 2014年 ZhaoXudong. All rights reserved.
//

#import <Foundation/Foundation.h>

#define RoomNO              @"boardNo"          // 房间号
#define RoomId              @"id"               // 房间ID
#define RoomGamerNum        @"gamerNum"
#define RoomMaxGamerNum     @"maxGamerNum"
#define RoomScore           @"score"
#define RoomStatus          @"status"


@interface YSRoomModel : NSObject

@property (nonatomic, strong)NSString *roomId;      // 房间ID
@property (nonatomic, strong)NSString *roomNo;      // 房间号
@property (nonatomic)NSInteger roomNum;             // 当前游戏人数
@property (nonatomic)NSInteger roomMaxNum;          // 最大游戏人数
@property (nonatomic, strong)NSString *roomScore;   // 底数
@property (nonatomic)NSInteger roomStatus;          // 状态

- (id)initWithDict:(NSDictionary *)dict;

- (BOOL)isWaitGame;

- (BOOL)isMaxNum;

@end
